<?php
	class Comment extends BaseModel {

		private $idComment;
		private $news;
		private $user;
		private $message;

		public function getIdComment() {
			return $this->idComment;
		}
		
		public function setIdComment($value) {
			$this->idComment = $value;
		}
		
		public function getNews() {
			return $this->news;
		}
		
		public function setNews($value) {
			$this->news = $value;
		}
		
		public function getUser() {
			return $this->user;
		}
		
		public function setUser($value) {
			$this->user = $value;
		}
		
		public function getMessage() {
			return $this->message;
		}
		
		public function setMessage($value) {
			$this->message = $value;
		}
		
		public function required() {
			return array(
				"idComment" => $this->idComment,
				"news" => $this->news,
				"user" => $this->user,
				"message" => $this->message
			);
		}

		public function json() {
			return array(
				"idComment" => $this->idComment,
				"news" => $this->news,
				"user" => $this->user,
				"message" => $this->message
			);
		}

	}